﻿using RpcExtend.Model.DB;

namespace RpcExtend.DAL.Repository
{
    internal class RemoteServerTypeDAL : IRemoteServerTypeDAL
    {
        private IRpcBasicRepository<RemoteServerType> _BasicDAL;

        public RemoteServerTypeDAL(IRpcBasicRepository<RemoteServerType> dal)
        {
            _BasicDAL = dal;
        }

        public string[] Gets(long[] id)
        {
            return this._BasicDAL.Gets(c => id.Contains(c.Id), c => c.TypeVal);
        }

    }
}
